package gao.xiaolei.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;

@Entity
public class GroupManage {

	@EmbeddedId
	private GroupManageId id;

	public GroupManage(String groupId, String userId) {
		super();
		this.id = new GroupManageId(groupId, userId);
	}

	public GroupManage() {
		super();
	}

	public GroupManageId getId() {
		return id;
	}

	public void setId(String groupId,String userId) {
		this.id.setGroupId(groupId);
		this.id.setUserId(userId);
	}

}
